package com.sino.operation.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sino.operation.entity.BizDictSet;
import com.sino.operation.entity.BizField;
import com.sino.operation.entity.BizTranslist;
import com.sino.operation.mapper.BizFieldManageMapper;
import com.sino.operation.mapper.BizTranslistMapper;
import com.sino.operation.service.BizFieldManagerService;
import com.sino.operation.service.BizTranslistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 字段 服务实现类
 * </p>
 *
 * @author admin
 * @since 2021-10-07
 */
@Service
public class BizFieldManagerServiceImpl extends ServiceImpl<BizFieldManageMapper, BizField> implements BizFieldManagerService {

@Autowired
private  BizFieldManageMapper bizFieldManageMapper;
    @Override
    public List<BizField> selectList(String filedCN) {
        QueryWrapper<BizField> wrapper = new QueryWrapper<>();
        if (!filedCN.isEmpty()){
            wrapper.eq("FILED_CN",filedCN);
        }
        return  bizFieldManageMapper.selectList(wrapper);
    }
}
